{* Smarty *}
{*
 *  This file is part of Urd.
 *
 *  Urd is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *  Urd is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program. See the file "COPYING". If it does not
 *  exist, see <http://www.gnu.org/licenses/>.
 *
 * $LastChangedDate: 2008-07-12 15:43:11 +0200 (Sat, 12 Jul 2008) $
 * $Rev: 1291 $
 * $Author: gavinspearhead $
 * $Id: ajax_showtransfers.tpl 1291 2008-07-12 13:43:11Z gavinspearhead $
 *}
{* Ajax page, doesn't need a head/foot tpl *}
<div id="hideoverlay">
<img src="{$IMGDIR}/icon_cancel.png" class="buttonlike" alt="Close" title="Close"  onclick="javascript:hide_popup('postdiv', 'post');"/>
<input type="hidden" name="challenge" id="challenge1" value="{$challenge}"/>
<input type="hidden" name="postid" id="postid" value="{$postid}"/>
</div>

<h2>{$LN_post_post}</h2>
<br/>
<table class="hmid fullwidth">
<tr><td>{$LN_post_directory}:</td><td>
<select name="directory" id="directory" {popup text=$LN_post_directoryext}>
{foreach from=$dirs item=name }
    <option value="{$name}" {if $name==$dir }selected="selected"{/if}>{$name}</option>
{/foreach}
</select>

</td></tr>
<tr><td>{$LN_post_newsgroup}:</td><td><select name="newsgroup" id="groupid" {popup text=$LN_post_newsgroupext} >
    <option value="" {if $id == '' }selected="selected"{/if}>{$LN_select}</option>
{foreach from=$groups item=name key=id}
    <option value="{$id}" {if $id == $groupid }selected="selected"{/if}>{$name}</option>
{/foreach}
</select></td></tr>
<tr><td>{$LN_post_subject}:</td><td><input type="text" name="subject" id="subject" {popup text=$LN_post_subjectext} size="40" value="{$subject}"/></td></tr>
<tr><td>{$LN_post_postername}:</td><td><input type="text" name="postername" id="postername" {popup text=$LN_post_posternameext} value="{$poster_name}" size="40"/></td></tr>
<tr><td>{$LN_post_posteremail}:</td><td><input type="text" name="posteremail" id="posteremail" {popup text=$LN_post_posteremailext}  value="{$poster_email}" size="40"/></td></tr>
<tr><td>{$LN_post_recovery}:</td><td><input type="text" name="recovery"  id="recovery" {popup text=$LN_post_recoveryext} value="{$recovery_size}"  size="5"/>%</td></tr>
<tr><td>{$LN_post_rarfiles}:</td><td><input type="text" name="filesize" id="filesize" {popup text=$LN_post_rarfilesext} value="{$rarfile_size}" size="5" /></td></tr>
<tr><td>{$LN_post_delete_files}:</td><td><input type="checkbox"  id="delete_files" name="delete_files" {popup text=$LN_post_delete_filesext} {if $delete_files neq 0}selected="selected"{/if}/></td></tr>
<tr><td>{$LN_browse_schedule_at}:</td><td> <input  id="timestamp" name="timestamp" type="text" value="{$start_time}" size="20"/></td></tr>
{if $readonly == 0}
<tr><td>&nbsp;</td></tr>
<tr><td colspan="2"><input type="submit" value="{$LN_post_post}" class="submit" onclick="javascript:create_post();"/></td></tr>
{/if}

</table>
